package com.example.wxai.pijo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class LikesDto {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 文章id
     */
    private String essayId;

    /**
     * 评论id
     */
    private Integer toCommentId;

    /**
    * 判断点赞或者取消点赞
    * */
    private boolean likes;
}
